package com.atjinggu.jinggumail.order.to;

import com.atjinggu.jinggumail.order.entity.OrderEntity;
import com.atjinggu.jinggumail.order.entity.OrderItemEntity;
import com.baomidou.mybatisplus.core.metadata.OrderItem;
import lombok.Data;
import org.apache.commons.lang.StringUtils;

import java.math.BigDecimal;
import java.util.List;

/**
 * @author jingming
 * @Type OrderCreateTo.java
 * @Desc
 * @date 2021/3/10 21:45
 */
@Data
public class OrderCreateTo {
    private OrderEntity order;
    private List<OrderItemEntity> items;
    private BigDecimal payPrice;
    private BigDecimal fare;

    public static void main(String[] args) {
        System.out.println(StringUtils.reverse("0011000001423306591"));
    }

 }